package com.lcredu.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 黎长容
 * @date 2025-07-18 19:40
 */
@Controller
@RequestMapping("/computer")
public class ComputerHandler {

    @PostMapping(value = "/getInfo",params = {"pp","price","num"})
    public String getInfo(String pp, double price, int num) {
        System.out.println("品牌--" + pp + " 价格--" + price + " 数量" + num);
        return "success";
    }
}
